/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author luan
 */
import java.lang.reflect.*;
public class Administrator {
    Administrator(){}
     public static void main(String [] args){
    @ClassStringValue(name="tran van a",dateOfBirth="3/7/1980",currentSalary=5000000,designation="quan ly")
    Employee obj=new Employee();
    obj.display();
    Manager obj2=new Manager();
    Class c=obj2.getClass();
        try {
            Method m = c.getMethod("myMethod");
            ClassStringValue sv=m.getAnnotation(ClassStringValue.class);
            System.out.print(sv.name()+""+sv.dateOfBirth()+""+sv.currentSalary()+""+sv.designation());
        } catch (NoSuchMethodException ex) {
            }

}
}